-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FEATURE: Add user option to toggle timezone adjustment #437
FEATURE: Add user option to toggle timezone adjustment #437
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, mostly cosmetic comments.
assets/javascripts/discourse/initializers/discourse-calendar.js
Outdated
Show resolved
Hide resolved
assets/javascripts/discourse/initializers/discourse-calendar.js
Outdated
Show resolved
Hide resolved
I changed the code to manually add a button in the header instead. I used |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good! Approving, but I do think the button CSS classes need a little bit of cleaning up to match core.
assets/javascripts/discourse/initializers/discourse-calendar.js
Outdated
Show resolved
Hide resolved
assets/javascripts/discourse/initializers/discourse-calendar.js
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sweet, LGTM!
enable_timezone_offset_for_calendar_events
is set to true.default_timezone_offset_user_option
.